package com.feicheng.persistence.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DepositBackRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "back_id", type = IdType.AUTO)
    private Integer backId;

    private String reason;

    private Integer amount;

    /**
     * 申请状态（REQ：已申请；REJ：已驳回；BCK：已退还；）
     */
    private String statu;

    private Integer clientId;

    private Integer storeId;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ct;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ut;

    private Integer uu;
    
    private Integer depositId;


}
